@import "./components/button/button.scss";
@import "./components/input/input.scss";
@import "./components/input-number/input-number.scss";
@import "./components/textarea/textarea.scss";
@import "./components/radio/radio-group.scss";
@import "./components/date-picker/date-picker.scss";
@import "./components/date-calendar/date-calendar.scss";
@import "./components/time-picker/time-picker.scss";
@import "./components/scrollbar/scrollbar.scss";
@import "./components/dialog/dialog.scss";
@import "./components/alert/alert.scss";
@import "./components/avatar/avatar.scss";
@import "./components/badge/badge.scss";
@import "./components/card/card.scss";
@import "./components/calendar/calendar.scss";
@import "./components/switch/switch.scss";
@import "./components/drawer/drawer.scss";
@import "./components/carousel/carousel.scss";
@import "./components/carousel/carousel-item.scss";
@import "./components/progress/progress.scss";
@import "./components/tooltip/tooltip.scss";
@import "./components/checkbox/checkbox-group.scss";
@import "./components/tabs/tabs.scss";
@import "./components/transfer/transfer.scss";
@import "./components/collapse/collapse.scss";
@import "./components/tag/tag.scss";
@import "./components/popup/popup.scss";
@import "./components/select/select.scss";
@import "./components/popconfirm/popconfirm.scss";
@import "./components/descriptions/descriptions.scss";
@import "./components/notification/notification.scss";

:root {
  --pe-color-white: #ffffff;
  --pe-color-black: #000000;
  --pe-color-hover: #ffeeee;
  --pe-color-hover-default: #ffe1e1;
  --pe-color-primary: #7e7eff;
  --pe-color-hover-primary: #9375e1;
  --pe-color-primary1: #ececff;
  --pe-color-success: #2bb62b;
  --pe-color-hover-success: #2b9849;
  --pe-color-success1: #deffde;
  --pe-color-info: #cccccc;
  --pe-color-hover-info: #ccaeae;
  --pe-color-info1: #f4f4f5;
  --pe-color-warning: #d0d02a;
  --pe-color-hover-warning: #d0b248;
  --pe-color-warning1: #fdf6ec;
  --pe-color-error: #ff5c5c;
  --pe-color-hover-error: #ff7a7a;
  --pe-color-error1: #fef0f0;
  --pe-color-text: #494949;
  --pe-color-border: #cccccc;
  --pe-color-placeholder: #bbb0b0;
  --pe-color-disabled: rgba(126, 126, 126, 0.2);
  --pe-default-height: 32px;
  --pe-large-height: 40px;
  --pe-small-height: 24px;
  --pe-border-radius: 5px;
  --pe-font-size-default: 14px;
  --pe-font-size-large: 16px;
  --pe-font-size-small: 12px;
  --pe-padding-default: 0 8px;
  --pe-padding-large: 0 11px;
  --pe-padding-small: 0 5px;
  --pe-margin-left: 10px;
  --pe-padding: 0 10px;
  --pe-border-transition: border 0.5s;
  --pe-all-transition: all 0.5s;
  --pe-duration: 0.5s
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  font-size: 14px;
  position: relative;
}

html,
body {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.pe-icon {
  --color: inherit;
  height: 1em;
  width: 1em;
  line-height: 1em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  fill: currentColor;
  color: var(--color);
  font-size: inherit;
}

.pe-icon svg {
  width: 1em;
  height: 1em;
}

.pe-icon+.pe-icon {
  margin-left: 10px;
}

.is-loading {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pe-disabled {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--pe-color-disabled);
  border-radius: var(--pe-border-radius);
  z-index: 10;
  cursor: not-allowed;
}

.is-disabled {
  opacity: 0.6;
}

.pe-no-data {
  width: 100%;
  padding: 10px;
  text-align: center;
  color: #cccccc;
}

input::-webkit-input-placeholder {
  /* WebKit browsers，webkit内核浏览器 */
  color: var(--pe-color-placeholder);
}

input:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: var(--pe-color-placeholder);
}

input::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: var(--pe-color-placeholder);
}

input:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: var(--pe-color-placeholder);
}

/*去除ie edge的密码框默认出现的小眼睛
		给人添乱这一块，巨硬从来都没让我失望过*/
input[type="password"]::-ms-reveal {
  display: none;
}

input[type="password"]::-ms-clear {
  display: none;
}

input[type="password"]::-o-clear {
  display: none;
}

// 全局css 加上以下代码，可以隐藏上下箭头

// 取消input的上下箭头
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;

}

input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;

}

input[type="number"] {
  -moz-appearance: textfield;
}

// 下拉框动画
.popup-enter-active,
.popup-leave-active {
  transition: all 0.3s ease;
}

.popup-enter-from,
.popup-leave-to {
  opacity: 0;
  transform: scaleY(0);
}

// dialog动画
.dialog-enter-active,
.dialog-leave-active {
  transition: all 0.3s ease;
}

.dialog-enter-from,
.dialog-leave-to {
  opacity: 0;
  transform: translateY(-5px);
}

// drawer动画
.right-enter-active,
.right-leave-active {
  transition: all 0.3s ease;
}

.right-enter-from,
.right-leave-to {
  opacity: 0;
  transform: translateX(20px);
}

.left-enter-active,
.left-leave-active {
  transition: all 0.3s ease;
}

.left-enter-from,
.left-leave-to {
  opacity: 0;
  transform: translateX(-20px);
}

.top-enter-active,
.top-leave-active {
  transition: all 0.3s ease;
}

.top-enter-from,
.top-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

.bottom-enter-active,
.bottom-leave-active {
  transition: all 0.3s ease;
}

.bottom-enter-from,
.bottom-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

// 提示文字动画
.tooltip-enter-active,
.tooltip-leave-active {
  transition: all 0.3s ease;
}

.tooltip-enter-from,
.tooltip-leave-to {
  opacity: 0;
}

// 折叠面板动画
.collapse-enter-active,
.collapse-leave-active {
  transition: all 0.3s ease;
}

.collapse-enter-from,
.collapse-leave-to {
  opacity: 0;
}